package com.server;

import com.entry.Productcollect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductcollectService {
    //添加收藏
    public int addProductCollect(int productcollect_product_id,
                                 int productcollect_member_id);

    //查看是否有相同收藏
    public int getIsCollect(int productcollect_product_id,
                            int productcollect_member_id);

    //所有收藏
    public List<Productcollect> getAllProductCollect(int productcollect_member_id);
    //删除收藏
    public int RemoveProductCollect(int productcollect_product_id,
                                    int productcollect_member_id);
}
